package com.nbsaas.boot.service;

import com.nbsaas.boot.entity.Question;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

public interface QuestionService {
    Question createQuestion(Question question);
    Question updateQuestion(Long id, Question question);
    void deleteQuestion(Long id);
    Question getQuestion(Long id);
    Page<Question> searchQuestions(String category, String difficulty, String keyword, Pageable pageable);
} 